﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Guedes_Library;

/// <summary>
/// Summary description for ClienteModal
/// </summary>
public class ClienteModel:GuedesModel<clients>
{
	public ClienteModel()
	{
		//
		// TODO: Add constructor logic here
		//
	}

    public override void DoChanges(clients entity, clients novo)
    {
        entity.Image = novo.Image;
        entity.Url = novo.Url;
        entity.Desc = novo.Desc;
    }

    public override string GetTabela()
    {
        return "guedesEntities.clients";
    }

    public override string GetKeyTabela()
    {
        return "ID";
    }
}